package com.itboye.mengwu.app.ui.mymeng.personsettings;

import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
import android.widget.TextView;

import com.itboye.core.object.BaseActivity;
import com.itboye.mengwu.R;
import com.itboye.mengwu.app.ui.mymeng.personsettings.ActivityUpdatePwdByPhone;
import com.itboye.mengwu.app.ui.mymeng.personsettings.ActivityUpdatePwdByPwd;

/**
 * @since 2016-05-10
 * @author liutiantian
 * 
 *         安全验证
 * 
 */
public class SaFeCheActivity extends BaseActivity {
	ImageView back;
	TextView check_old_pwd,check_mobile;
	@Override
	public int initView() {
		// TODO Auto-generated method stub
		return R.layout.safecheck;
	}

	@Override
	public void onMyCreate() {
		// TODO Auto-generated method stub
		back.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				finish();
			}
		});
		check_old_pwd.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent intent=new Intent(SaFeCheActivity.this,ActivityUpdatePwdByPwd.class);
				startActivity(intent);
			}
		});
		check_mobile.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent intent=new Intent(SaFeCheActivity.this,ActivityUpdatePwdByPhone.class);
				startActivity(intent);
			}
		});
	}

}
